package com.briup.ch07.inners;

public class Test1 {
    public static void main(String[] args) {
        Outer o1=new Outer();
        System.out.println(o1.age);
        Outer.InnerObj in1=o1.new InnerObj();
        //Outer.InnerObj in2=Outer.new InnerObj()
        Outer.InnerObj in2=new Outer().new InnerObj();
        System.out.println(in2.nameObj);
    }
}
